package observepattern;
/**
 * 观察者模式 demo
 * ObserverPatternDemo.java
 * @author yaojinshan
 * @since 2017年6月19日 下午1:55:54
 *
 */
public class ObserverPatternDemo {

	public static void main(String[] args) {
		Meeting meeting = new Meeting(); 
		new Person("张三", meeting);
		new Person("李四", meeting);
		new Person("王五", meeting);
		new Person("张三", meeting);
		meeting.addMeeting();
	}

}
